<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>

<?php
include_once "function_obj_bindwidth.php";

AppendXmlBindObject($in_array);

$in_array['Name'] = base64_encode($_POST['name']);
$in_array['Proi'] = $_POST['proi'];
$in_array['NeedWidth'] = $_POST['b1'];
$in_array['MaxWidth'] = $_POST['b2'];
$in_array['Note'] = base64_encode($_POST['note']);

AppendXmlBindObject($in_array);

include "function_misc_log.php";
$in_array['Name'] = "'". ($in_array['Name']). "'";
$in_array['Note'] = "'". ($in_array['Note']). "'";
logger("Add", $in_array,"Object_Qos_BandWidth");

include "function_web_misc.php";
PrintSuccessPageAndJump('obj_qos_bandwidth.php');
//echo("<meta http-equiv='refresh'content=0;URL='obj_qos_bandwidth.php'>");
?>
